$OpenBSD: patch-lib_memory_mosq_h,v 1.1.1.1 2015/05/19 19:13:39 edd Exp $
--- lib/memory_mosq.h.orig	Sun May 10 13:12:25 2015
+++ lib/memory_mosq.h	Sun May 10 13:12:41 2015
@@ -20,7 +20,7 @@ Contributors:
 #include <stdio.h>
 #include <sys/types.h>
 
-#if defined(WITH_MEMORY_TRACKING) && defined(WITH_BROKER) && !defined(WIN32) && !defined(__SYMBIAN32__) && !defined(__ANDROID__) && !defined(__UCLIBC__)
+#if defined(WITH_MEMORY_TRACKING) && defined(WITH_BROKER) && !defined(WIN32) && !defined(__SYMBIAN32__) && !defined(__ANDROID__) && !defined(__UCLIBC__) && !defined(__OpenBSD__)
 #define REAL_WITH_MEMORY_TRACKING
 #endif
 
